home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Hacks / Hacks ’91 / ColorHack 1991 / the demo / Startup < prev    next >
Encoding:
Text File  |  1990-08-12  |  4.3 KB  |  149 lines  |  [TEXT/MPS ]

  1. #    Startup - MPW Shell Startup File
  2. #
  3. #    Copyright Apple Computer, Inc. 1985-1988
  4. #    All Rights Reserved.
  5.  
  6.  
  7. #    {Boot} - The boot disk.  (Predefined.)
  8.             Export Boot
  9.  
  10. #    {SystemFolder} - The directory that contains System & Finder.  (Predefined.)
  11.             Export SystemFolder
  12.  
  13. #    {ShellDirectory} - The directory that contains MPW Shell.  (Predefined.)
  14.             Export ShellDirectory
  15.  
  16. #    {Active} - The active (topmost) window.  (Predefined.)
  17.             Export Active
  18.  
  19. #    {Target} - The target (previously active) window.  (Predefined.)
  20.             Export Target
  21.  
  22. #    {Worksheet} - The name of the Worksheet window.  (Predefined.)
  23.             Export Worksheet
  24.  
  25. #    {Status} - The result of the last command executed.  (Predefined.)
  26.             Export Status
  27.  
  28. #    {User} - Automatically defined to the name the appears in the Chooser.
  29.             Export User
  30.  
  31. #    {MPW} - The volume or folder containing the Macintosh Programmer's Workshop.
  32. #            If you put the MPW Shell out on the desktop, redefine this variable
  33. #            to be {Boot}MPW:
  34.             Set MPW "{ShellDirectory}"
  35.             Export MPW
  36.             
  37. #    {Commands} - Directories to search for commands.
  38.             Set Commands ":,{MPW}Tools:,{MPW}Scripts:"
  39.             Export Commands
  40.  
  41. #    {AIncludes} - Directories to search for assembly language include files.            
  42.             Set AIncludes "{MPW}Interfaces:AIncludes:"
  43.             Export AIncludes
  44.             
  45. #    {Libraries} - Directory that contains shared libraries.         
  46.             Set Libraries "{MPW}Libraries:Libraries:"
  47.             Export Libraries
  48.             
  49. #    {CIncludes} - Directories to search for C include files.
  50.             Set CIncludes "{MPW}Interfaces:CIncludes:"
  51.             Export CIncludes
  52.  
  53. #    {CLibraries} - Directory that contains C libraries.         
  54.             Set CLibraries "{MPW}Libraries:CLibraries:"
  55.             Export CLibraries
  56.             
  57. #    {PInterfaces} - Directories to search for Pascal interface files.
  58.             Set PInterfaces "{MPW}Interfaces:PInterfaces:"
  59.             Export PInterfaces
  60.  
  61. #    {PLibraries} - Directory that contains Pascal libraries.        
  62.             Set PLibraries "{MPW}Libraries:PLibraries:"
  63.             Export PLibraries
  64.             
  65. #    {RIncludes} - Directory that contains Rez include files.
  66.             Set RIncludes "{MPW}Interfaces:RIncludes:"
  67.             Export RIncludes
  68.  
  69. #    {CaseSensitive} - If non-zero, pattern matching is case sensitive.
  70.             Set CaseSensitive 0
  71.             Export CaseSensitive
  72.  
  73. #    {SearchBackward} - If non-zero, search will go backwards.
  74.             Set SearchBackward 0
  75.             Export SearchBackward
  76.  
  77. #    {SearchWrap} - If non-zero, search will wrap.
  78.             Set SearchWrap 0
  79.             Export SearchWrap
  80.  
  81. #    {SearchType} - Specifies the default searching type.  (0/literal,
  82. #        1/word, 2/regular expression)
  83.             Set SearchType 0
  84.             Export SearchType
  85.  
  86. #    {Tab} - Default tab setting for new windows.
  87.             Set Tab 4
  88.             Export Tab
  89.  
  90. #    {Font} - Default Font for new windows.
  91.             Set Font Courier
  92.             Export Font
  93.  
  94. #    {FontSize} - Default font size for new windows.
  95.             Set FontSize 9
  96.             Export FontSize
  97.  
  98. #    {AutoIndent} - If non-zero, auto indentation will be the default for
  99. #        new windows.
  100.             Set AutoIndent 1
  101.             Export AutoIndent
  102.  
  103. #    {WordSet} - Character set that defines words for searches and double-clicks.
  104.             Set WordSet 'a-zA-Z0-9'
  105.             Export WordSet
  106.  
  107. #    {PrintOptions} - Options used by the Print Window and Print Selection menus.
  108.             Set PrintOptions '-h'
  109.             
  110. #    {Exit} - If non-zero, command files terminate after the first error.
  111.             Set Exit 1
  112.             Export Exit
  113.  
  114. #    {Echo} - If non-zero, commands are echoed before execution.
  115.             Set Echo 0
  116.             Export Echo
  117.  
  118. #    {Test} - If non-zero, tools and applications are not executed.
  119.             Set Test 0
  120.             Export Test
  121.  
  122. #    Commando Support
  123.              Export Windows
  124.              Export Aliases
  125.              Set Commando Commando
  126.             Export Commando
  127.  
  128. #    Aliases
  129.             Alias File Target
  130.  
  131.  
  132. #    The file UserStartup can be used to override definitions made in Startup,
  133. #    or to define additional variables, exports, and aliases.  UserStartup may
  134. #    also be used to define menu items, open windows, etc.  The file should be
  135. #    located in the directory containing the MPW Shell.
  136.  
  137.             Execute "{ShellDirectory}UserStartup"
  138.  
  139. #    Since UserStartup is distributed with MPW, you may want to have other
  140. #    startup files that will not be overwritten with a new release.
  141. #    Other personalized startup files may be named UserStartup•≈ - such as 
  142. #    "UserStartup•John" or "UserStartup•Tom"  (• is option-8).
  143. #    These files should be located in the directory containing the MPW Shell.
  144.  
  145.             For __Startup__i in `(Files "{ShellDirectory}"UserStartup•≈ || Set Status 0) ≥ dev:null`
  146.                 Execute "{__Startup__i}"
  147.             End
  148.             Unset __Startup__i
  149.